/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.util.ArrayList;

/**
 *
 * @author amerer & dleang
 */
public class Noeud<T> {
    
    private T info;
    private Noeud<T> pere;
    private ArrayList<Noeud<T>> fils;

    public ArrayList<Noeud<T>> getFils() {
        return fils;
    }

    public void setFils(ArrayList<Noeud<T>> fils) {
        this.fils = fils;
    }

    public T getInfo() {
        return info;
    }

    public void setInfo(T info) {
        this.info = info;
    }

    public Noeud<T> getPere() {
        return pere;
    }

    public void setPere(Noeud<T> pere) {
        this.pere = pere;
    }
    
    public Noeud()
    {
        
    }
    
    public Noeud(T i,Noeud<T> p,ArrayList<Noeud<T>> f)
    {
        info = i;
        pere = p;
        fils = f;
    }

}
